# -*- coding:utf-8 -*-
__version__ = '1.0.0.0'
"""
@brief  :   简介
@details:   详细信息
@author :   zheng
@date   :   2020-03-02
"""

from rest_framework import serializers
from .models import *


class OrderDetailsSerializer(serializers.ModelSerializer):

    class Meta:
        model = OrderDetails
        fields = '__all__'

class DealerAnalysisSerializer(serializers.ModelSerializer):

    class Meta:
        model = DealerAnalysis
        fields = '__all__'


class CustomerAnalysisSerializer(serializers.ModelSerializer):

    class Meta:
        model = CustomerAnalysis
        fields = '__all__'


class CategoryAnalysisSerializer(serializers.ModelSerializer):

    class Meta:
        model = CategoryAnalysis
        fields = '__all__'


class LogisticsAnalysisSerializer(serializers.ModelSerializer):

    class Meta:
        model = LogisticsAnalysis
        fields = '__all__'


class SalesDataSerializer(serializers.ModelSerializer):

    class Meta:
        model = SalesData
        fields = '__all__'


